package com.ruoyi.healthCard.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 体检人员登记对象 t_biz_physical_person
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public class TBizPhysicalPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 体检人员 ID */
    private Long personId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idCard;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 登记人员 ID */
    @Excel(name = "登记人员 ID")
    private Long staffId;

    /** 样本 ID */
    @Excel(name = "样本 ID")
    private Long sampleId;

    /** 结果 ID */
    @Excel(name = "结果 ID")
    private Long resultId;

    /** 报告 ID */
    @Excel(name = "报告 ID")
    private Long reportId;

    /** 套餐项目ID */
    @Excel(name = "套餐项目ID")
    private Long bizpackagePhysicalItemId;

    /** 公司ID */
    @Excel(name = "公司ID")
    private Long companyId;

    /** 行业ID */
    @Excel(name = "行业ID")
    private Long industryId;

    /** 发放 ID */
    @Excel(name = "发放 ID")
    private Long distId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date appointmentTime;

    /** 状态 */
    @Excel(name = "状态")
    private Integer status;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 采血样本条码 */
    @Excel(name = "采血样本条码")
    private String bloodBarcode;

    /** 采便样本条码 */
    @Excel(name = "采便样本条码")
    private String stoolBarcode;

    /** 是否需要采血（1 = 需要，0 = 不需要） */
    @Excel(name = "是否需要采血", readConverterExp = "1=,==,需=要，0,==,不=需要")
    private Integer needBloodTest;

    /** 是否需要采便（1 = 需要，0 = 不需要） */
    @Excel(name = "是否需要采便", readConverterExp = "1=,==,需=要，0,==,不=需要")
    private Integer needStoolTest;

    /** 采血状态（0 = 未采血，1 = 已采血，2 = 已送检） */
    @Excel(name = "采血状态", readConverterExp = "0=,==,未=采血，1,==,已=采血，2,==,已=送检")
    private Integer bloodStatus;

    /** 采便状态（0 = 未采血，1 = 已采血，2 = 已送检） */
    @Excel(name = "采便状态", readConverterExp = "0=,==,未=采血，1,==,已=采血，2,==,已=送检")
    private Integer stoolStatus;

    /** 初检结果 */
    @Excel(name = "初检结果")
    private String chujianResult;

    /** 复检结果 */
    @Excel(name = "复检结果")
    private String fujianResult;

    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }

    public void setSampleId(Long sampleId) 
    {
        this.sampleId = sampleId;
    }

    public Long getSampleId() 
    {
        return sampleId;
    }

    public void setResultId(Long resultId) 
    {
        this.resultId = resultId;
    }

    public Long getResultId() 
    {
        return resultId;
    }

    public void setReportId(Long reportId) 
    {
        this.reportId = reportId;
    }

    public Long getReportId() 
    {
        return reportId;
    }

    public void setBizpackagePhysicalItemId(Long bizpackagePhysicalItemId) 
    {
        this.bizpackagePhysicalItemId = bizpackagePhysicalItemId;
    }

    public Long getBizpackagePhysicalItemId() 
    {
        return bizpackagePhysicalItemId;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setIndustryId(Long industryId) 
    {
        this.industryId = industryId;
    }

    public Long getIndustryId() 
    {
        return industryId;
    }

    public void setDistId(Long distId) 
    {
        this.distId = distId;
    }

    public Long getDistId() 
    {
        return distId;
    }

    public void setAppointmentTime(Date appointmentTime) 
    {
        this.appointmentTime = appointmentTime;
    }

    public Date getAppointmentTime() 
    {
        return appointmentTime;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setRegisterTime(Date registerTime) 
    {
        this.registerTime = registerTime;
    }

    public Date getRegisterTime() 
    {
        return registerTime;
    }

    public void setBloodBarcode(String bloodBarcode) 
    {
        this.bloodBarcode = bloodBarcode;
    }

    public String getBloodBarcode() 
    {
        return bloodBarcode;
    }

    public void setStoolBarcode(String stoolBarcode) 
    {
        this.stoolBarcode = stoolBarcode;
    }

    public String getStoolBarcode() 
    {
        return stoolBarcode;
    }

    public void setNeedBloodTest(Integer needBloodTest) 
    {
        this.needBloodTest = needBloodTest;
    }

    public Integer getNeedBloodTest() 
    {
        return needBloodTest;
    }

    public void setNeedStoolTest(Integer needStoolTest) 
    {
        this.needStoolTest = needStoolTest;
    }

    public Integer getNeedStoolTest() 
    {
        return needStoolTest;
    }

    public void setBloodStatus(Integer bloodStatus) 
    {
        this.bloodStatus = bloodStatus;
    }

    public Integer getBloodStatus() 
    {
        return bloodStatus;
    }

    public void setStoolStatus(Integer stoolStatus) 
    {
        this.stoolStatus = stoolStatus;
    }

    public Integer getStoolStatus() 
    {
        return stoolStatus;
    }

    public void setChujianResult(String chujianResult) 
    {
        this.chujianResult = chujianResult;
    }

    public String getChujianResult() 
    {
        return chujianResult;
    }

    public void setFujianResult(String fujianResult) 
    {
        this.fujianResult = fujianResult;
    }

    public String getFujianResult() 
    {
        return fujianResult;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personId", getPersonId())
            .append("name", getName())
            .append("gender", getGender())
            .append("age", getAge())
            .append("idCard", getIdCard())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("staffId", getStaffId())
            .append("sampleId", getSampleId())
            .append("resultId", getResultId())
            .append("reportId", getReportId())
            .append("bizpackagePhysicalItemId", getBizpackagePhysicalItemId())
            .append("companyId", getCompanyId())
            .append("industryId", getIndustryId())
            .append("distId", getDistId())
            .append("appointmentTime", getAppointmentTime())
            .append("status", getStatus())
            .append("registerTime", getRegisterTime())
            .append("bloodBarcode", getBloodBarcode())
            .append("stoolBarcode", getStoolBarcode())
            .append("needBloodTest", getNeedBloodTest())
            .append("needStoolTest", getNeedStoolTest())
            .append("bloodStatus", getBloodStatus())
            .append("stoolStatus", getStoolStatus())
            .append("chujianResult", getChujianResult())
            .append("fujianResult", getFujianResult())
            .toString();
    }
}
